/*DxfEntities.java
 *
 * Created on 6 de Dezembro de 2007, 10:54
 *
 * Modified on 08/10/2011, 2:49 PM by Adriano
 * Included the attribute @Override to inherited methods
 */

package importadorDXF;

/**
 * @author rafaelbuck
 * @author Adriano Ferreira
 */
public class DxfEntities extends DxfSection implements DxfConvertable
{
    @Override
    public void read(DxfGroups grp, DxfReporter reporter) throws DxfException
    {
        grp.readEntities(entitySet);
    }

    @Override
    public void convert(DxfConverter converter, DxfFile dxf, Object collector)
    {
        converter.convert(entitySet, dxf, collector);
    }

    public void convert(Dxf14Converter converter, DxfFile dxf, Object collector)
    {
        converter.convert(entitySet, dxf, collector);
    }

    public DxfEntitySet getEntitySet()
    {
        return entitySet;
    }

    /** Creates a new instance of DxfEntities */
    public DxfEntities()
    {
        entitySet = new DxfEntitySet();
    }

    protected DxfEntitySet entitySet;
}